﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BastInfos.Models
{
	public abstract class PageableModel
	{
		public int CurrentPage { get; set; }

		public int TotalItems { get; set; }

		public int PageSize { get; set; }

		public int PagesNumber { get { return (int)Math.Ceiling((decimal)TotalItems / PageSize); } }
	}
}